package com.magicborrow.beans;

import java.io.Serializable;

/**
 * Created by ghost on 15/7/2.
 */
public class UserBean implements Serializable {


    /**
     * code : 0
     * data : {"acc_token":"MSw3NTg0MQ==","avatar":"1","avatar80":"1","gender":1,"id":1,"mobile":"1","nickname":"1"}
     * message : 操作成功
     */

    private int code;
    /**
     * acc_token : MSw3NTg0MQ==
     * avatar : 1
     * avatar80 : 1
     * gender : 1
     * id : 1
     * mobile : 1
     * nickname : 1
     */

    private User data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public User getData() {
        return data;
    }

    public void setData(User data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class User implements Serializable {
        private String acc_token;
        private String avatar;
        private String avatar80;
        private int gender;
        private int id;
        private String mobile;
        private String nickname;
        private String signature;
        private String password;

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        //借入的评分，平均分，总次数
        private float borrowScale;
        private float borrowScaleAVG;
        private int borrowTimes;
        private String city;
        //借出的评分，平均分，总次数
        private float lendScale;
        private float lendScaleAVG;
        private int lendTimes;
        private float lat;
        private float lon;
        private int status;
        private int studentStatus;

        public float getBorrowScale() {
            return borrowScale;
        }

        public void setBorrowScale(float borrowScale) {
            this.borrowScale = borrowScale;
        }

        public float getBorrowScaleAVG() {
            return borrowScaleAVG;
        }

        public void setBorrowScaleAVG(float borrowScaleAVG) {
            this.borrowScaleAVG = borrowScaleAVG;
        }

        public int getBorrowTimes() {
            return borrowTimes;
        }

        public void setBorrowTimes(int borrowTimes) {
            this.borrowTimes = borrowTimes;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public float getLendScale() {
            return lendScale;
        }

        public void setLendScale(float lendScale) {
            this.lendScale = lendScale;
        }

        public float getLendScaleAVG() {
            return lendScaleAVG;
        }

        public void setLendScaleAVG(float lendScaleAVG) {
            this.lendScaleAVG = lendScaleAVG;
        }

        public int getLendTimes() {
            return lendTimes;
        }

        public void setLendTimes(int lendTimes) {
            this.lendTimes = lendTimes;
        }

        public float getLat() {
            return lat;
        }

        public void setLat(float lat) {
            this.lat = lat;
        }

        public float getLon() {
            return lon;
        }

        public void setLon(float lon) {
            this.lon = lon;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getStudentStatus() {
            return studentStatus;
        }

        public void setStudentStatus(int studentStatus) {
            this.studentStatus = studentStatus;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getAcc_token() {
            return acc_token;
        }

        public void setAcc_token(String acc_token) {
            this.acc_token = acc_token;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getAvatar80() {
            return avatar80;
        }

        public void setAvatar80(String avatar80) {
            this.avatar80 = avatar80;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
    }
}
